<?php
if (get_option_tree('select_blog_header', '')) {
$blog_header_element = get_option_tree('select_blog_header', '');
if ($blog_header_element == 'Post Slider'){
get_header('post-slider'); }
if ($blog_header_element == 'Orbit slider'){
get_header('orbit-slider'); }
if ($blog_header_element == 'Custom Header'){
get_header('custom-element'); }
if ($blog_header_element == 'Custom Header w/ background'){
get_header('custom-element-bg'); }

if ($blog_header_element == 'None'){
get_header(); } 
} else {get_header();} 
?>

<?php if (get_option_tree('diable_cat_title', '')) {} else { echo '<h1 class="category-title">', single_tag_title() .'</h1>' ;} ?>


<?php if (get_option_tree('blog_layout_sidebar', '')) { echo '<div id="content_full" >'; } else {echo '<div id="content" class="left">';} ?> 

<?php get_template_part( 'loop', 'index' ); ?>

</div><!-- #content -->
<?php if (get_option_tree('blog_layout_sidebar', '')) {} else {echo '<div id="sidebar_right">', get_sidebar() . '</div>';}?>
<div class="clear"></div>
<?php get_footer(); ?>